package com.xingda.packing.dmss.domain;

import lombok.Data;

@Data
public class PackFloorSolderNumDemand {

    private PackDemandRange floor1SolderNum;

    private PackDemandRange floor2SolderNum;

    private PackDemandRange floor3SolderNum;

    private PackDemandRange floor4SolderNum;

    private PackDemandRange floor5SolderNum;

    private PackDemandRange floor6SolderNum;

    public PackDemandRange getFloorSolderNum(int floorNum) {
        if (floorNum == 1) {
            return floor1SolderNum;
        } else if (floorNum == 2) {
            return floor2SolderNum;
        } else if (floorNum == 3) {
            return floor3SolderNum;
        } else if (floorNum == 4) {
            return floor4SolderNum;
        } else if (floorNum == 5) {
            return floor5SolderNum;
        } else if (floorNum == 6) {
            return floor6SolderNum;
        }
        return null;
    }
}
